package cn.dt70.dao.aqbUserMsg;

import cn.dt70.pojo.AqbUserMsg;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface AqbUserMsgMapper {

    List<AqbUserMsg> getAllMsg(@Param("uid")int uid,@Param("status")int Status,@Param("start")int Start,@Param("end")int end);

    int upd(AqbUserMsg aqbUserMsg);

    int del(int id);

    int getTotalCount(@Param("status")int status,
                      @Param("uid")int uid);

    int add(AqbUserMsg aqbUserMsg);
}
